![]() |
SPBCloseDevice |
||||
Header: | Sound.h | Carbon status: | Supported | |
Closes a sound input device.
OSErr SPBCloseDevice ( SInt32 inRefNum );
The device reference number of the sound input device to close.
A result code.
The SPBCloseDevice function closes a device that was previously opened by SPBOpenDevice and whose device reference number is specified in the inRefNum parameter.
Because the SPBCloseDevice function moves or purges memory, you should not call it at interrupt time.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)